package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.project.bean.OutDrugBean;
import com.project.bean.OutWareHouseBean;

import java.time.LocalDate;
import java.util.Map;

/**
 * @author RJ
 * @date 2022/9/15 19:51
 */
public interface IWareHouseService extends IService<OutWareHouseBean> {
    //添加出库信息
    void addWareHouse(OutWareHouseBean outWareHouseBean, Map<Integer, OutDrugBean> map);

    //查看出库信息
    OutWareHouseBean getOutInfo(Integer outId);

    //根据起始和结束日期，领用小班查询出库新，并分页显示
    IPage<OutWareHouseBean> cutOutByItem(Integer pageNo, Integer pageSize, LocalDate startDate, LocalDate endDate, String outUser);
}
